package com.zwk.edu.mapper;

import com.zwk.edu.entity.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zwk.edu.entity.frontvo.CourseWebVo;
import com.zwk.edu.entity.vo.CoursePublishVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author zwk
 * @since 2022-08-22
 */
@Mapper
public interface CourseMapper extends BaseMapper<Course> {

    public CoursePublishVo getPublishCourseInfo(String courseId);

    // 查询课程详情信息
    CourseWebVo selectBaseCourseInfo(String id);
}
